package com.lry.service;


import com.lry.pojo.User;

import javax.servlet.http.HttpServletRequest;
import javax.validation.constraints.Min;

/**
 * @author JiangJie
 * @create 2020-12-02 16:01
 */
public interface UserService {

    void addUser(User user);

    User getUser(@Min(value=1L, message="User ID must be greater than 1") Integer id);

    User getUser1(Integer id, HttpServletRequest request);
}
